Skip to main content
Version: 8.6.10.4

MarketHoursV3

V8 Message Definiton

The expected market schedule for one product group on one trade date - the session times a client needs to know when orders are accepted and when each session opens and closes. Typically holds the current week, the previous week and the next week. ScheduleDefinitionV3 (9057) holds the calendar, rotation window and venue for the same (tickerSrc, tickerClass, scheduleGroup) key. This record holds only what varies BY DATE. RESOLUTION: look up the product's exact scheduleGroup; if there is no row, fall back to scheduleGroup '*'. FOUR SOURCES, ONE LADDER. Every source publishes its own row and the reader takes the best one present - Manual beats Loader beats Bridge beats HardCode - skipping any row marked deleted.

METADATA​

AttributeValue
Topic9100-product-def-core
MLink TokenClientLive
ProductSRReference
accessTypeSELECT
MLink EndpointMLink-Live

Table Definition​

FieldTypeKeyDefault ValueComment
tickerSrcenum - TickerSrcPRI'None'the products ticker source
tickerClassenum - TickerClassPRI'None'product family Ticker cash CCode futures Root options
scheduleGroupVARCHAR(6)PRI''ScheduleDefinitionV3 9057 covers every group not named
tradeDateDATEPRI'1900-01-01'the trade date these session times apply to
v3Sourceenum - V3SourcePRI'None'which source wrote this row the reader takes the highest present
timeZoneenum - SRTimeZone'None'empty the schedules TradingPeriod zone
marketDayTypeenum - MarketDayType'None'whether the session runs normally runs modified or does not run
srCloseMarkTimeTIME(6)'00:00:00.000000'SR Close Mark Time usually regular market close 5 minute C 5M
hasEarlySessionenum - YesNo'None'note early session can start the previous day
earlyPreOpenTimeTIME(6)'00:00:00.000000'early session preopen orders accepted
earlySessionOpenTimeTIME(6)'00:00:00.000000'early session market open
earlySessionCloseTimeTIME(6)'00:00:00.000000'early session market close
hasRegularSessionenum - YesNo'None'No no regular session on this date whatever the times below say
regPreOpenTimeTIME(6)'00:00:00.000000'regular session preopen order accepted
regSessionOpenTimeTIME(6)'00:00:00.000000'regular session open
regSessionCloseTimeTIME(6)'00:00:00.000000'regular session close
hasLateSessionenum - YesNo'None'Yes a postregular session runs read the late session times
latePreOpenTimeTIME(6)'00:00:00.000000'extended session preopen orders accepted
lateSessionOpenTimeTIME(6)'00:00:00.000000'extended session open
lateSessionCloseTimeTIME(6)'00:00:00.000000'extended session close
hasExEarlyCloseenum - YesNo'None'options have an early close on expiry day tickerClass Root only
exEarlyCloseTimeTIME(6)'00:00:00.000000'expiry day early close time
timestampDATETIME(6)'1900-01-01 00:00:00.000000'when this row was last written

PRIMARY KEY DEFINITION (Unique)​

FieldSequence
tickerSrc1
tickerClass2
scheduleGroup3
tradeDate4
v3Source5

SELECT TABLE EXAMPLE QUERY​

SELECT *
FROM `SRReference`.`MsgMarketHoursV3`
WHERE
/* Replace with a ENUM('None','SR','NMS','CME','ICE','CFE','CBOT','NYMEX','COMEX','RUT','CIDX','ARCA','NYSE','OTC','NSDQ','MFQS','MIAX','DJI','CUSIP','ISIN','BXE','SCE','ANY','CXE','DXE','NXAM','NXBR','NXLS','NXML','NXOS','NXP','EUREX','CEDX','ICEFEC','ICEFEF','CEQT','TSX','TMX','CRCY','CMDY','DTI','SOVN','SR_US','SR_EU','SR_AP','SR_UK','USD','EUR','GBP','CHF','JPY','CAD','AUD','HKD','KRW','INR','SGD','TWD','CNY','CNH','BRL','MXN','ZAR','SEK','NOK','DKK','PLN','ILS','TRY','NZD','THB','MYR','IDR','PHP','CZK','HUF','SAR','AED','CLP','COP') */
`tickerSrc` = 'NONE'
AND
/* Replace with a ENUM('None','Ticker','CCode','Root') */
`tickerClass` = 'NONE'
AND
/* Replace with a VARCHAR(6) */
`scheduleGroup` = 'Example_scheduleGroup'
AND
/* Replace with a DATE */
`tradeDate` = '2022-01-01'
AND
/* Replace with a ENUM('None','HardCode','Bridge','Loader','Manual') */
`v3Source` = 'NONE';

Doc Columns Query​

SELECT * FROM SRReference.doccolumns WHERE TABLE_NAME='MarketHoursV3' ORDER BY ordinal_position ASC;